package net.huashitong.ssydt.provider.exam.mapper;

import net.huashitong.ssydt.exam.entity.SsExamArticleQuestionRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SsExamArticleQuestionRecordMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SsExamArticleQuestionRecord record);

    int insertSelective(SsExamArticleQuestionRecord record);

    SsExamArticleQuestionRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SsExamArticleQuestionRecord record);

    int updateByPrimaryKey(SsExamArticleQuestionRecord record);

    List<SsExamArticleQuestionRecord> findByArticleRecordId(Long articleRecordId);

    int findByArticleRecordId(List<SsExamArticleQuestionRecord> questionRecords);

    int batchInsert(List<SsExamArticleQuestionRecord> questionRecords);
}